<div id="excursions-placeholder">

    <div id="wrap" class="clearfix">

        <div id="aside">

            <h3 class="main-title" style="font-size: 17px;"><?= lang('search.best.60sec') ?></h3>

            <? $this->load->view('excursions/parts/search_box') ?>
			<? $this->load->view('destinations/parts/banner') ?>
            <? $this->load->view('rentacar/parts/map_box') ?>

        </div><!-- / Aside -->

        <div id="main">

            <div class="tabs home-slider">

                <? $cnt=count($action_1); ?>

                <ul>
                    <?
                        for($j=0; $j < $cnt; $j++)
                        {
                            ?>
                            <li><a href="#tabs-<?= $j + 1 ?>"><?= $j + 1 ?></a></li>
                        <? } ?>
                </ul>

                <?
                    for($i=0; $i < $cnt; $i++)
                    {
                        ?>

                        <div class="slider-box" id="tabs-<?= $i + 1 ?>">

                            <? $href=base_url('excursions/'.urlify::filter($action_1[$i]->title).'-'.$action_1[$i]->id); ?>

                            <? $filename=get_thumbnail(612, 372, $action_1[$i]->f_name) ?>

                            <div class="info">
                                <h2><?= $action_1[$i]->title ?></h2>
                                <p><?= clean_html($action_1[$i]->description) ?></p>
                                <a href="<?= $href ?>" class="button"><?= lang('shared.book.now') ?> &raquo;</a>
                                <span class='big'><?= $action_1[$i]->adultPrice; ?>€ <span>/ <?= lang('person') ?></span></span>
                            </div>
                            <img src="<?= $hosting ?>pro-gallery/<?= $action_1[$i]->g_path.'/'.$filename ?>" alt="<?= $action_1[$i]->title ?>"> 
                        </div>

                    <? } ?> <!-- / Slider Box -->

            </div><!-- / Home Slider -->
			<div class='title excursions-title'>
				<h1><?= lang('title.excursions.homepage') ?></h1>
			</div>			
			<div class='homepage-description'>
				<p><?= lang('description.excursions.homepage') ?></p>
			</div>
            <div class="three-columns exc-featured clearfix">

                <? $cnt=count($action_2); ?>

                <?
                    for($i=0; $i < $cnt; $i++)
                    {
                        if($i == 12)
                            break;
                        ?>

                        <div class="car-box">

                            <? $href=base_url('excursions/'.urlify::filter($action_2[$i]->title).'-'.$action_2[$i]->id); ?>

                            <? $filename=get_thumbnail(70, 70, $action_2[$i]->f_name) ?>

                            <? $pices=explode(" ", $action_2[$i]->title); ?>
							
							<h2>
                            <span class='homeTitleSpan'><?= $pices[0] ?></span>							
                            <? for($j=1; $j <= count($pices) - 1; $j++)
								{
									echo ' '.$pices[$j];
								} ?>

                            <?
                            $transport_ID=(int) $action_2[$i]->transportsid - 1;

                            $transports=lang('transports');
                            $action_2[$i]->transportsid=str_replace('Bus', $transports[0], $transport_ID);
                            $action_2[$i]->transportsid=str_replace('Boat', $transports[1], $transport_ID);
                            $action_2[$i]->transportsid=str_replace('Jeep', $transports[2], $transport_ID);
                            $action_2[$i]->transportsid=str_replace('Bus + Boat', $transports[3], $transport_ID);
                            $action_2[$i]->transportsid=str_replace('Bus + Jeep', $transports[4], $transport_ID);
                            $action_2[$i]->transportsid=str_replace('Bus + Canoe', $transports[5], $transport_ID);
                            ?>

                            <!--<small><? if($this->lang->lang() == 'en') echo 'by '; ?><?= $transports[$action_2[$i]->transportsid] ?></small>-->
							</h2>
                            <img src="<?= $hosting ?>pro-gallery/<?= $action_2[$i]->g_path.'/'.$filename ?>" alt="<?= $action_2[$i]->title ?>"> 
                            <a href="<?= $href ?>" class="button"><?= lang('shared.book.now') ?> &raquo;</a>
                            <span class='big'><?= $action_2[$i]->adultPrice; ?>€ <span>/ <?= lang('person') ?></span></span>
                        </div><!-- / Car box -->

                    <? } ?>

            </div><!-- / Three Columns -->

            <div class="two-columns clearfix">
                <? $this->load->view('parts/two_column') ?>
            </div>

        </div><!-- / Mian -->

    </div><!-- / Wrap -->

</div><!-- / Home placeholder -->